home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Technical Documentation / Mac Tech Notes (DocViewer) / Overview / TN-Overview / TN-Overview.rsrc / TOC#_1000 < prev   
Encoding:
Text File  |  1994-07-24  |  7.4 KB  |  39 lines

  1. POV 1 - Chooser EnhancementsFurther Reference:*OV 2 - Checking for Specific FunctionalityUsing SysEnvironsIn C:#Checking for Specific FunctionalityFurther Reference:OV 3 - Compatibility GuidelinesOV 4 - Compatibility: Why & HowCompatibility: the outlineSummary
  2. What it IsWhat the “Rules” meanIt’s your choice
  3. Bad Things#Assuming the screen is a fixed size Why it’s Bad)How to avoid becoming a screening fascist1How to find fascist screenism in current programs*Assuming the screen is at a fixed location Why it’s Bad"How to avoid being a base screenerHow to find base screeners:Assuming that rowbytes is equal to the width of the screen Why it’s BadHow to avoid being a row byterHow to find row byters!Using nil Handles or nil Pointers Why it’s BadHow to avoid being a NillerHow to find NillersCreating or Using Fake Handles Why it’s BadHow to avoid being a fakirHow to find fakirs"Writing code that modifies itself  Why it’s BadHow to avoid being an abuserHow to find abusers)Code designed strictly as copy protection Why it’s Bad"How to avoid being a protectionistHow to find protectionists)Check errors returned as function results Why it’s BadHow to find skippersAccessing hardware directly Why it’s bad!How to avoid having a hard attackHow to find hard attacks Don’t use bits that are reservedHow to avoid being bittenHow to find those bittenSummaryFurther Reference:&OV 5 - The Desktop File’s Outer LimitsFurther Reference:4OV 6 - Finder Notes: “Get Info” Default & Icon Masks:Creator String will be the default “Get Info” comment text#Icon Masks should match their iconsFurther Reference:)OV 7 - Large-Screen Display CompatibilityFurther Reference:OV 8 - Managerial AbuseNo free databaseWords to live byChecking lists twiceDialog with the devilFurther Reference:-OV 9 - Debugging With PurgeMem and CompactMemFurther Reference: OV 10 - Setting and Restoring A5 Introduction The Old WayThe New, Totally Cool WayThe Interfaces
  4. MPW PascalMPW CAssembly LanguageA Special NoteFurther Reference:%OV 11 - The Joy Of Being 32-Bit Clean Introduction
  5. General RulesHardware & CPUsMemory ManagerResource ManagerWDEFs and CDEFs File SystemLow-Memory Globals Trap PatchesSoundFurther Reference:OV 12 - Version Territory Apple’s Version Numbering SchemeVersion Resources
  6. MPW PascalMPW C Version Resources and the Finder,Figure 1–Get Info Window for the Finder File
  7. Final NoteFurther Reference:OV 13 - 10+ Commandments1. Write in ANSI C or C++2. Align Data StructuresC3. Don’t Depend on 68K Run-time Model (Stacks, A5, Segmentation...))4. Isolate and Minimize Use of Low Memory?5. Isolate and Minimize Use of Internal Toolbox Data Structures6. Don’t Intermix Data and Code17. Isolate Dependencies on 80 and 96-bit Extended58. Don’t Depend on Interrupt Level or Supervisor Mode9. 32-bit Clean Mandatory#10. Don’t Hit the Hardware Directly 11. Don’t Directly Patch the ROM612. Don’t Depend on Resources Being in the System File=13. Don’t Make Assumptions About the Contents and Size of ROM14. SCSI    SCSIStat:    Protocol:Patches:15. VIAs16. Do the Right ThingFurther Reference3OV 14 - A5 Within Trap Patches - Don't Depend on ItFurther Reference:OV 15 - Debugging Tips*Setting memory location 0 to something odd!Checksumming for slow motion modeChecksumming MemErr Checksumming on a master pointer3OV 16 - Gestalt & _SysEnvirons—A Never-Ending Story Introduction_Gestalt"Additional Gestalt Response ValuesgestaltHardwareAttr Selector=New gestaltHardwareAttr Values for Macintosh Quadra Computers SysEnvirons/Calling _SysEnvirons From a High-Level Language!Additional _SysEnvirons ConstantsFurther Reference:.OV 17 - MultiFinder Revisited:  The 6.0 SystemRelease)How Can I Tell If MultiFinder is Present?"_WaitNextEvent is Always Available    _MFTopMemMFTempHandles Are Not HandlesMouse-Moved Event ConfusionNew MultiFinder FeaturesOpen Document and Quit Additions to the 'SIZE' Resource"Figure 1–'SIZE' Resource Flag Bits(Figure 2–Message Field of childDiedEventFurther Reference:OV 18 - Resource in CDEV?A New World for Control Panels*What Is This 'fwst' Thing in My CDev?!?!?!One More Thing*What Does This Have to Do With the 'fwst'?Further Reference:OV 19 - Stationery PadsConfiguration Files6An alternative to configuration files: Stationery Pads!A Document and its Stationery padFurther Reference:&OV 20 – Internationalization Checklist Introduction
  8. References!Creating a Generic User InterfaceWhy It Is RelevantNegative ExampleNegative ExampleNegative Example
  9. What to Do What to ReadRunning on System 6.x or 7.0Why It Is Relevant
  10. What to Do What to ReadWorking With Language KitsWhy It Is RelevantNegative ExampleNegative Example
  11. What to Do What to ReadDisabling the fontForce FeatureWhy It Is Relevant
  12. What to Do
  13. What to Avoid What to Read
  14. Finding FontsWhy It Is Relevant
  15. What to Do
  16. What to AvoidDisplaying Font Menus and ListsWhy It Is Relevant
  17. What to Do What to ReadHard-Coding CoordinatesWhy It Is Relevant
  18. What to Do
  19. What to Avoid&Hard-Coding Strings and String LengthsWhy It Is Relevant
  20. What to Do
  21. What to Avoid What to ReadConcatenating StringsWhy It Is RelevantNegative ExampleNegative Example
  22. What to Do
  23. What to AvoidString Substitution
  24. What it isWhy It Is RelevantPositive ExamplePositive ExampleNegative ExampleNegative Example
  25. What to Do
  26. What to Avoid What to ReadTruncating StringsWhy It Is Relevant
  27. What to Do What to Read"Working With Individual CharactersWhy It Is Relevant
  28. What to Do
  29. What to Avoid What to ReadSorting StringsWhy It Is Relevant What to Read Editing TextWhy It Is Relevant
  30. What to Do
  31. What to Avoid What to Read Inline InputWhy It Is Relevant
  32. What to Do What to Read    PasswordsWhy It Is Relevant
  33. What to Do What to ReadText SearchingWhy It Is RelevantNegative ExampleNegative ExampleNegative Example
  34. What to Do
  35. What to AvoidMoving and Hiding Dialog ItemsWhy It Is Relevant
  36. What to DoNumber FormattingWhy It Is RelevantNegative ExampleNegative ExamplePositive ExamplePositive ExamplePositive Example What to ReadCurrency FormatsWhy It Is RelevantPositive Example
  37. What to Do What to ReadDate and Time FormatsWhy It Is RelevantNegative ExamplePositive ExamplePositive Example
  38. What to Do What to Read
  39. Other FormatsWhy It Is Relevant
  40. What to DoPaper and Envelope SizesWhy It Is Relevant
  41. What to DoMeasurement SystemsWhy It Is Relevant
  42. What to Do What to ReadCustom Resource TypesWhy It Is Relevant
  43. What to Do
  44. What to Avoid What to ReadMenusWhy It Is Relevant
  45. What to Do
  46. What to Avoid#Keyboard Equivalents (Command Keys)Why It Is Relevant
  47. What to Do
  48. What to Avoid What to ReadGraphicsWhy It Is Relevant
  49. What to DoSound and VoiceWhy It Is Relevant
  50. What to Do
  51. What to AvoidInstaller ScriptsWhy It Is RelevantNegative Example
  52. What to Do
  53. What to Avoid What to Read
  54. EncryptionWhy It Is Relevant
  55. What to DoTrademark SymbolsWhy It Is Relevant
  56. What to DoAcknowledgementsFurther Reference:Further Reference (continued):OV 505 - Compatibility Q&As4Macintosh Install Me First disk model-specific files)Number suffix in system enabler file name)Whether to develop for Macintosh System 6 OV 510 - WorldWide Overview Q&As+Changing DITL resource to adapt to language7Maintaining one application version with localized text(Macintosh 'vers' resource language field)Disabling multiscript keyboard menu items3Human interface for wildcards and boolean operators#12 Golden Rules of worldwide design&International documents reference list)International VBL timing on the Macintosh